package com.zhl.model;

import com.zhl.annotions.myField;
import com.zhl.annotions.myTable;

/**
 *  favorite
 * @author 大莫 2020-08-10
 */
@myTable(value = "favorite",keyName = "u_id")
public class Favorite{

    /**
     * 收藏用户id
     */
    @myField(field = "u_id")
    private Integer uId;

    /**
     * 文章id
     */
    @myField(field = "a_id")
    private Integer aId;


    public Favorite() {
    }

    public Integer getUId() {
        return uId;
    }

    public void setUId(Integer uId) {
        this.uId = uId;
    }

    public Integer getAId() {
        return aId;
    }

    public void setAId(Integer aId) {
        this.aId = aId;
    }

}

